<div class="languages index">
	<h2><?php __('Languages');?></h2>
	<?php echo $this->Html->link(__('Add New', true), array('action' => 'add')); ?>
	<table cellpadding="0" cellspacing="0">
	<tr>
			<th>SL<?php //echo $this->Paginator->sort('id');?></th>
			<th>Languages<?php //echo $this->Paginator->sort('Languages');?></th>
			<th>read<?php //echo $this->Paginator->sort('read');?></th>
			<th>write<?php //echo $this->Paginator->sort('write');?></th>
			<th>speak<?php //echo $this->Paginator->sort('speak');?></th>
			
			<th class="actions"><?php __('Actions');?></th>
	</tr>
	<?php
	$i = 0;
	foreach ($languages as $language):
		$class = null;
		if ($i++ % 2 == 0) {
			$class = ' class="altrow"';
		}
	?>
	<tr<?php echo $class;?>>
		<td><?php echo $i;//echo $language['Language']['id']; ?>&nbsp;</td>
		<td><?php echo $language['Language']['Languages']; ?>&nbsp;</td>
		<td><?php echo $language['Language']['read']; ?>&nbsp;</td>
		<td><?php echo $language['Language']['write']; ?>&nbsp;</td>
		<td><?php echo $language['Language']['speak']; ?>&nbsp;</td>
		
		<td class="actions">
			<?php //echo $this->Html->link(__('View', true), array('action' => 'view', $language['Language']['id'])); ?>
			<?php echo $this->Html->link(__('Edit', true), array('action' => 'edit', $language['Language']['id'])); ?>
			<?php echo $this->Html->link(__('Delete', true), array('action' => 'delete', $language['Language']['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $language['Language']['id'])); ?>
		</td>
	</tr>
<?php endforeach; ?>
	</table>
	<p>
	<?php
	/*echo $this->Paginator->counter(array(
	'format' => __('Page %page% of %pages%, showing %current% records out of %count% total, starting on record %start%, ending on %end%', true)
	));*/
	?>	</p>

	<!-- <div class="paging">
		<?php //echo $this->Paginator->prev('<< ' . __('previous', true), array(), null, array('class'=>'disabled'));?>
	 | 	<?php //echo $this->Paginator->numbers();?>
 |
		<?php //echo $this->Paginator->next(__('next', true) . ' >>', array(), null, array('class' => 'disabled'));?>
	</div> -->
</div>
